package com.foreveross.bsl.mam.device.application.vo;

import java.util.HashMap;
import java.util.Map;

import org.json.JSONObject;


public class DeviceCollVO {
	
	public String getAlert() {
		return alert;
	}
	public void setAlert(String alert) {
		this.alert = alert;
	}
	public String getBadge() {
		return badge;
	}
	public void setBadge(String badge) {
		this.badge = badge;
	}
	public String getSound() {
		return sound;
	}
	public void setSound(String sound) {
		this.sound = sound;
	}
	public Map<String, Object> getData() {
		return data;
	}
	public void setData(Map<String, Object> data) {
		this.data = data;
	}
	private String  alert;
	private String  badge;
	private String sound;
	private Map<String, Object> data;
	
	
	public static void main(String[] args) {  
	  Map<String, Object> data= new HashMap<String, Object>();
	  Map<String, Object> vo= new HashMap<String, Object>();
		vo.put("id","1213121");
		vo.put("mdm","do it");
		vo.put("module","com.foreveross.do");
		data.put("alert","设备管理");
		data.put("badge","1");
		data.put("sound", "default");
		data.put("data", vo);
		JSONObject json = new JSONObject(data);
		System.out.println(json);
		  }


}
class DataVO {
	private String id;
	private String mdm;
	private String module;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getMdm() {
		return mdm;
	}
	public void setMdm(String mdm) {
		this.mdm = mdm;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	
}
